package java6681.borrow;

public class Borrow6681 {
    public static void main(String[] args) {
        Book6681 one = new Book6681("局外人");
        Book6681 two = new Book6681("鼠疫");
        Book6681 three  = new Book6681("Java编程思想");

        Library6681 lib = new Library6681();
        lib.setName("至诚学院");
        lib.setBookList(new Book6681[]{one,two,three});

        Student6681 stu = new Student6681();
        stu.setName("Junichiro");

        Book6681[] bookNeed = {one,three};
        Book6681 bo = stu.borrows(lib, "局外人");
        System.out.println(stu.getName()+"借了书："+bo);

    }
}
